using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Sockets;

namespace rudp
{
	public enum Step
	{
		DeliveringPackets = 0,
		DeliveringReceiptRequest = 1,
		DeliveredReceiptRequest = 2
	}

	public class CommunicationState
	{
		public List<Message>  Packets{ get;set; }
        public int 		  	  Index{ get; set; }
        public Socket		  Socket{ get; set; }
        public Step			  CurrentStep{ get; set; }
        public int			  BytesSent{ get; set; }
        public EndPoint		  RemoteHost{ get;set; }
        public byte[]		  Buffer{ get;set; }
	}
}

